﻿using System;
using System.Threading;

namespace Borg
{
    public sealed class DeadlockException : Exception
    {
        internal DeadlockException() : base(string.Format("Thread {0}:'{1}' ran into a deadlock.",
            Thread.CurrentThread.ManagedThreadId, Thread.CurrentThread.Name))
        { }
    }
}
